﻿using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using WPFExcelReport.Helpers;
using System.Collections.Generic;
namespace WPFExcelReport
{
     
    public partial class USTUELI : ViewBase
    {

        public USTUELI()
        {

        }

        public override void Window_Loaded(object sender, RoutedEventArgs e)
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            base.Window_Loaded(sender, e);

        }

        public override void vwMaster_CurrentChanged(object sender, EventArgs e)
        {
            base.vwMaster_CurrentChanged(sender, e);
            if (dwMaster == null)
            {
                KEY = "";
                LFD = "0";
            }
            else
            {
                KEY = dwMaster["STUELISAPD"].ToString() + dwMaster["STUELIPPOS"].ToString();
                LFD = dwMaster["RATIO"].ToString();
            }
        } 

        public void ResetSeq(object sender, RoutedEventArgs e)
        {

        }

    }
    public partial class USTUELI : ViewBase
    {
        public VSTUELI TMV
        {
            get
            {
                return (VSTUELI)MV;
            }
        }

    }
}
